package com.wizz.trade.information.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.*;

/**
 * <p>
 * 收费项目表
 * </p>
 *
 * @author fyftless
 * @since 2023-04-02 04:26:06
 */
@Data
@TableName("item")
@AllArgsConstructor
@NoArgsConstructor
public class Item implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 关联仓库签约品种表id，仓库签约品种表/收费项目表：一对多
     */
    @TableField("svar")
    private Integer svar;

    /**
     * 项目名称。固定：过户费、入库费、出库费、制单费、期转现费、短驳费
     */
    @TableField("name")
    private String name;

    /**
     * 费用
     */
    @TableField("cost")
    private BigDecimal cost;

    /**
     * 费用单位（=元/吨）
     */
    @TableField("iunit")
    private String iunit;
}
